home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / BSP Tree 1.2 / Sources / Graphics / include / quaternion_3d.h < prev    next >
Encoding:
Text File  |  1995-03-25  |  806 b   |  23 lines  |  [TEXT/MMCC]

  1. //------------------------------------------------------------------------------
  2. //    File:                    quaternion.h
  3. //    Date:                    9/18/94
  4. //    Author:                Bretton Wade
  5. //
  6. //    Description:    this file contains the methods for a quaternion
  7. //
  8. //------------------------------------------------------------------------------
  9.  
  10. #include "vector_3d.h"
  11. #include "matrix_3d.h"
  12.  
  13. #ifndef QUATERNION
  14. #define QUATERNION
  15.  
  16. //------------------------------------------------------------------------------
  17. //    functions
  18. //------------------------------------------------------------------------------
  19. matrix_3d    Quaternion (const vector_3d &begin, const vector_3d &end);                        //    function to map a quaternion to a transformation matrix_3d
  20.  
  21. //------------------------------------------------------------------------------
  22.  
  23. #endif //QUATERNION